﻿<%@ Page Title="" Language="C#" MasterPageFile="~/_console/_console.Master" AutoEventWireup="true" CodeBehind="role-edit.aspx.cs" Inherits="SmartSpace.WebApp._console.core.role_edit" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolderHead" runat="server">
    <script>
        function onselecteduser(user) {
            $('#_ctlAnonymousUser').val(user.name);
            $('#_ctlAnonymousUserId').val(user.id);
        }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolderMenu" runat="server">
    编辑角色
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolderTitle" runat="server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolderToolbar" runat="server">
    <asp:HyperLink ID="_ctlLinkBack" runat="server" NavigateUrl="~/_console/core/role-list.aspx">返回</asp:HyperLink>
    <asp:LinkButton ID="_ctlBtnSave" runat="server" Text="保存" OnClick="_ctlBtnSave_Click" />
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="ContentPlaceHolderContent" runat="server">
    <div class="form">
        <label>
            Name</label><br />
        <asp:TextBox ID="_ctlEditName" ClientIDMode="Static" runat="server" Width="400"></asp:TextBox><br />
        <label>
            名称</label><br />
        <asp:TextBox ID="_ctlEditCaption" ClientIDMode="Static" runat="server" Width="400"></asp:TextBox><br />
        <label>
            privilege</label><br />
        <asp:TextBox ID="TextBox1" ClientIDMode="Static" runat="server" Width="400"></asp:TextBox>
        <a href="javascript:void();" onclick="_ss.popup('../common/select-privilege.aspx', onselecteduser);">select privilege</a>
    </div>
</asp:Content>
